package org.paybiz.core.payplatform.yeePay.service;

import org.paybiz.core.payplatform.yeePay.bean.YeeBackResultDO;
import org.paybiz.model.PayModel;
import org.paybiz.model.PayReqResultDO;

/**
 * Description: 易宝支付接口
 * @author  LiChunming
 * @version V1.0 
 * @createDateTime：2010-10-14 下午05:15:18 
 * @Company: MSD. 
 * @Copyright: Copyright (c) 2010
 */
public interface YeePayService {

	/**
	 * 获取支付对象
	 * @param payDO 支付请求参数对象
	 * @return PayReqResultDO
	 */
	public PayReqResultDO pay(PayModel payDO);
	/**
	 * 校验易宝支付结果
	 * @return
	 */
	public boolean verifyCallback(YeeBackResultDO resultDO,Integer sign);
	
	/**
	 * 易宝自动对帐
	 * @param orderId 商户订单ID
	 * @param tag 0 为私人 1 为公司
	 * @return 易宝是否支付成功
	 */
	public int yeeAutoCheckOrder(String orderId,Integer tag); 
	
}
